import student.StudentArray;
import user.User;

public class Main {
    public static void main(String[] args) {
        User user = new User();
        StudentArray list = new StudentArray();
        while(true){
            try{
                Thread.sleep(1000);
                int choice = user.menu();
                user.doIOperation(choice,list);
            }catch (InterruptedException e){
                e.printStackTrace();
            }
        }
    }
}
